import request from "@/utils/request";

export function queryParseHtmlUrlListByConditionMap2(data) {
  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/queryParseHtmlUrlListByConditionMap2',
    method: 'get',
    params: data,
  })
}

export function downloadDataToExcel(data) {

  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/downloadParseHtmlUrlListByCondition',
    method: 'get',
    params: data,
    responseType: 'blob'
  })
}


export function queryParseHtmlUrlByCondition(data) {
  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/queryParseHtmlUrlByCondition',
    method: 'get',
    params: data,
  })
}


export function updateParseHtmlUrl(data) {
  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/updateParseHtmlUrl',
    method: 'post',
    data: data,
  })
}

export function saveParseHtmlUrlSingleLineData(data) {
  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/saveParseHtmlUrlSingleLineData',
    method: 'post',
    data: data,
  })
}

export function deleteParseHtmlUrlByIntegerIdList(data) {
  return request({
    url: 'api/efficiencyTools/parseHtmlUrl/deleteParseHtmlUrlByIntegerIdList',
    method: 'delete',
    params: data,
  })
}

export function insertByExcel(data) {
  return request({
    url: '/api/efficiencyTools/parseHtmlUrl/insertByExcel',
    method: 'post',
    data: data
  })
}
